//
//  HistoryRecordCell.m
//  Runone
//
//  Created by runone02 on 16/10/27.
//  Copyright © 2016年 runone. All rights reserved.
//

#import "HistoryRecordCell.h"

@implementation HistoryRecordCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _arrowImv.image = [UIImage imageNamed:@"arrow.png"];
    
}

//设置模型数据
- (void) setRecordModel:(IntVclDrivedRecordInfo *)recordModel {
    _recordModel = recordModel;
    
    _recordTime.text  = _recordModel.LastUpdateTime;
    _beginTime.text   = _recordModel.PlanDepartureTime;
    _endTime.text     = _recordModel.PlanArrivalTime;
    _origin.text      = _recordModel.Origin;
    _destination.text = _recordModel.Destination;
    
}

@end
